import { View, Text } from '@tarojs/components'
import { useLoad } from '@tarojs/taro'
import './user.less'
import { appStore } from '@/store/store'
import { observer } from 'mobx-react'
import { Button } from "@taroify/core"
function User() {
  useLoad(() => {
    console.log('Page loaded.')
  })

  return (
    <View className="index">
      <Text>Hello world!</Text>
      <View>User!</View>

      <br />
      <br />

      <View>{appStore.count}</View>
      <Button color="primary">主要按钮</Button>
    </View>
  )
}

export default observer(User)
